package com.mwm.loyal.dao;

import com.mwm.loyal.bean.FeedBean;
import com.mwm.loyal.bean.UserBean;

import java.util.List;

public interface UserDao {

    int register(UserBean userBean);

    int destroy(UserBean userBean);

    UserBean queryByUsername(String username);

    UserBean login(UserBean userBean);

    UserBean getByUsername(String username);

    int updateAccount(UserBean userBean);

    int updatePassword(UserBean userBean);

    UserBean queryLock(UserBean userBean);

    UserBean queryLocked(UserBean userBean);

    int updateLocked(UserBean userBean);
}
